* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
      'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
      'Noto Color Emoji';
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 100%;
    background: linear-gradient(90deg, #1890ff 0%, #36cfc9 100%);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
  }
  
  .logo {
    font-size: 18px;
    font-weight: bold;
    margin-right: 16px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  /* 菜单样式优化 */
  .ant-menu-horizontal {
    border-bottom: none !important;
    line-height: 46px !important;
    background: linear-gradient(90deg, #1890ff 0%, #36cfc9 100%) !important;
  }
  
  .ant-menu-horizontal .ant-menu-item {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease !important;
  }
  
  .ant-menu-horizontal .ant-menu-item:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  
  .ant-menu-horizontal .ant-menu-item-selected {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
  }
  
  .ant-menu-horizontal .ant-menu-item::after {
    border-bottom: 2px solid #fff !important;
  }
  
  .ant-layout-sider {
    max-width: 160px !important;
    min-width: 160px !important;
    width: 160px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, #f6f8fc 0%, #f0f5ff 100%) !important;
  }
  
  .ant-layout-sider.ant-layout-sider-collapsed {
    max-width: 48px !important;
    min-width: 48px !important;
    width: 48px !important;
  }
  
  .ant-layout-content {
    /* background: #fff !important; */ /* 移除白色背景 */
    background: transparent !important;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    /* border-radius: 4px 0 0 0 !important; */
    padding: 0 !important;
  }
  
  /* 按钮样式优化 */
  .ant-btn-link {
    padding: 4px 8px !important;
    height: 32px !important;
  }
  
  /* 面包屑样式 */
  .ant-breadcrumb {
    font-size: 14px;
    height: 32px;
    line-height: 32px;
  }
  
  /* 为AdminLayout中的面包屑添加自定义样式 */
  .admin-breadcrumb-container {
    padding: 6px 16px;
    margin-left: 8px;
    margin-top: 8px;
    margin-right: 8px;
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .header-content {
      padding: 0 8px;
    }
    
    .logo {
      font-size: 16px;
      margin-right: 8px;
    }
  
    .ant-layout-sider {
      max-width: 140px !important;
      min-width: 140px !important;
      width: 140px !important;
    }
  }
  
  /* 优化菜单项样式 */
  .ant-menu-inline {
    border-right: none !important;
  }
  
  .ant-menu-item {
    height: 40px !important;
    line-height: 40px !important;
    margin: 4px 0 !important;
  }
  
  .ant-menu-inline .ant-menu-item {
    margin: 4px 8px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
  }
  
  .ant-menu-inline .ant-menu-item:hover {
    color: #1890ff !important;
    background: rgba(24, 144, 255, 0.1) !important;
  }
  
  .ant-menu-inline .ant-menu-item-selected {
    color: #fff !important;
    background: linear-gradient(90deg, #1890ff 0%, #36cfc9 100%) !important;
  }
  
  /* 折叠按钮容器样式 */
  .ant-layout-sider-trigger {
    height: 40px !important;
    line-height: 40px !important;
  }
  
  /* 修改头部按钮样式 */
  .header-right .ant-btn-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  
  .header-right .ant-btn-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  
  /* 折叠按钮样式 */
  .ant-layout-sider .ant-btn-text {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }
  
  .ant-layout-sider .ant-btn-text:hover {
    background: rgba(24, 144, 255, 0.1) !important;
  }
  
  /* 图标样式 */
  .ant-menu-item .anticon {
    transition: all 0.3s ease !important;
  }
  
  .ant-menu-item:hover .anticon {
    transform: scale(1.1);
  }
  
  /* 动画效果 */
  @keyframes menuHover {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(4px);
    }
  }
  
  .ant-menu-inline .ant-menu-item:hover {
    animation: menuHover 0.3s ease;
  }
  
  /* 确保内部所有元素都使用相同的背景 */
  .ant-layout-sider > * {
    background: transparent !important;
  }
  
  .admin-dropdown {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
  
  .admin-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* 管理员下拉菜单中的文字颜色 */
  .admin-dropdown span {
    color: #fff;
  }
  
  